package com.example.lockscreenaffect;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class AlarmTimerBroadcast extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent) {
		String action = intent.getAction();
		
		if ("com.example.lockscreenaffect.SERVICE_ONE".equals(action)) {
			Intent i = new Intent(context, TestOnStartCommandService.class);
			i.putExtra(TestOnStartCommandService.TIMER_RESTART, true);
			context.startService(i);
			
		}

	}

}
